package com.example.framwork.exception;

public class PadException extends RuntimeException {

    private static final long serialVersionUID = -6010480421499937026L;

    private Integer code;

    public PadException(String message) {
        super(message);
    }

    public PadException(int code, String message) {
        super(message);
        this.code = code;
    }

    public PadException(String message, Throwable throwable) {
        super(message, throwable);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
